package routers

import (
	"advertising/internal/app/web/controller"

	"github.com/gin-gonic/gin"
)

func SupportActivityRouter(r *gin.RouterGroup) {
	r.POST("create", controller.SupportActivity{}.Create)
	r.POST("update", controller.SupportActivity{}.Update)
	r.POST("delete", controller.SupportActivity{}.Delete)
	r.POST("detail", controller.SupportActivity{}.Detail)
	r.POST("list", controller.SupportActivity{}.List)
	r.POST("change_status", controller.SupportActivity{}.ChangeStatus)
	r.POST("same_name_exist", controller.SupportActivity{}.SameNameExist)
	r.POST("get_by_material_id", controller.SupportActivity{}.GetActivityListByMaterialIDs)
	r.POST("get_material_ids", controller.SupportActivity{}.GetMaterialIDsList)
	r.POST("set_material_ids", controller.SupportActivity{}.SetMaterialIDs)
}
